OPC DA Qualities

Quality namesDescriptionStatusValue
OPC_QUALITY_GOODQuality mask. The Quality of the value is Good.Good0xC0
OPC_QUALITY_LOCALOVERRIDEThe value has been Overridden. Typically this is means the input has been disconnected and a manually entered value has been ‘forced’.Good0xD8
OPC_QUALITY_BADQuality mask. The value is bad but no specific reason is known.Bad0x00
OPC_QUALITY_CONFIG_ERRORThere is some server specific problem with the configuration. For example the item in question has been deleted from the configuration.Bad0x04
OPC_QUALITY_NOT_CONNECTEDThe input is required to be logically connected to something but is not. This quality may reflect that no value is available at this time, for reasons like the value may have not been provided by the data source.Bad0x08
OPC_QUALITY_DEVICE_FAILUREA device failure has been detected.Bad0x0C
OPC_QUALITY_SENSOR_FAILUREA sensor failure had been detected (the ’Limits’ field can provide additional diagnostic information in some situations).Bad0x10
OPC_QUALITY_LAST_KNOWNCommunications have failed. However, the last known value is available.Bad0x14
OPC_QUALITY_COMM_FAILURECommunications have failed. There is no last known value is available.Bad0x18
OPC_QUALITY_OUT_OF_SERVICEThe block is off scan or otherwise locked. This quality is also used when the active state of the item or the group containing the item is InActive.Bad0x1C
OPC_QUALITY_WAITING_FOR_INITIAL_DATAAfter Items are added to a group, it may take some time for the server to actually obtain values for these items. In such cases the client might perform a read (from cache), or establish a ConnectionPoint based subscription and/or execute a Refresh on such a subscription before the values are available. This substatus is only available from OPC DA 3.0 or newer servers.Bad0x20
OPC_QUALITY_UNCERTAINQuality mask. There is no specific reason why the value is uncertain.Uncertain0x40
OPC_QUALITY_LAST_USABLEWhatever was writing this value has stopped doing so. The returned value should be regarded as ‘stale’. Note that this differs from a BAD value with Substatus 5 (Last Known Value). That status is associated specifically with a detectable communications error on a ‘fetched’ value. This error is associated with the failure of some external source to ‘put’ something into the value within an acceptable period of time.Uncertain0x44
OPC_QUALITY_SENSOR_CALEither the value has ‘pegged’ at one of the sensor limits (in which case the limit field should be set to 1 or 2) or the sensor is otherwise known to be out of calibration via some form of internal diagnostics (in which case the limit field should be 0).Uncertain0x50
OPC_QUALITY_EGU_EXCEEDEDThe returned value is outside the limits defined for this parameter. Note that in this case (per the Fieldbus Specification) the ‘Limits’ field indicates which limit has been exceeded but does NOT necessarily imply that the value cannot move farther out of range.Uncertain0x54
OPC_QUALITY_SUB_NORMALThe value is derived from multiple sources and has less than the required number of Good sources.Uncertain0x58

Limits

  • OPC_LIMIT_OK 0x00
  • OPC_LIMIT_LOW 0x01
  • OPC_LIMIT_HIGH 0x02
  • OPC_LIMIT_CONST 0x03

OPC HDA Qualities